﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Navigation;

namespace AutoStar.ViewModel
{
    public class SliceParaVM : BaseViewModel
    {
        public SliceParaVM()
        {

        }
        private int _PrintChannelSelectedIndex = 0;
        public int PrintChannelSelectedIndex
        {
            get => _PrintChannelSelectedIndex;
            set => Set(ref _PrintChannelSelectedIndex, value);
        }
        private int _FillModeSelectedIndex = 2;
        public int FillModeSelectedIndex
        {
            get => _FillModeSelectedIndex;
            set => Set(ref _FillModeSelectedIndex, value);
        }
        private ObservableCollection<string> _FillModeList = new ObservableCollection<string>()
        {
            "纵向","横向","纵横交替","不填充","新模式"
        };
        public ObservableCollection<string> FillModeList
        {
            get => _FillModeList;
            set => Set(ref _FillModeList, value);
        }
        private ObservableCollection<string> _PrintChannelList = new ObservableCollection<string>()
        {
            "通道1","通道2","通道3","通道4","通道5"
        };
        

        private int _PrintModeSelectedIndex = 0;
        public int PrintModeSelectedIndex
        {
            get => _PrintModeSelectedIndex;
            set => Set(ref _PrintModeSelectedIndex, value);
        }
        public ObservableCollection<string> PrintChannelList
        {
            get => _PrintChannelList;
            set => Set(ref _PrintChannelList, value);
        }
        private ObservableCollection<string> _PrintModeList = new ObservableCollection<string>()
        {
            "全部打印","半球形打印"
        };
        public ObservableCollection<string> PrintModeList
        {
            get => _PrintModeList;
            set => Set(ref _PrintModeList, value);
        }
        private int _SliceModeSelectedIndex = 0;
        public int SliceModeSelectedIndex
        {
            get => _SliceModeSelectedIndex;
            set => Set(ref _SliceModeSelectedIndex, value);
        }
        private ObservableCollection<string> _SliceModeList = new ObservableCollection<string>()
        {
            "横切","竖切"
        };
        public ObservableCollection<string> SliceModeList
        {
            get => _SliceModeList;
            set => Set(ref _SliceModeList, value);
        }
        private string _MaxHeight = "0.35";
        public string MaxHeight
        {
            get => _MaxHeight;
            set => Set(ref _MaxHeight, value);
        }
        private string _MinHeight = "0.1";
        public string MinHeight
        {
            get => _MinHeight;
            set => Set(ref _MinHeight, value);
        }
        private string _Accuracy = "0.01";
        public string Accuracy
        {
            get => _Accuracy;
            set => Set(ref _Accuracy, value);
        }
        private string _FillInterval = "0.55";
        public string FillInterval
        {
            get => _FillInterval;
            set => Set(ref _FillInterval, value);
        }
        private string _CuringTime = "0";
        public string CuringTime
        {
            get => _CuringTime;
            set => Set(ref _CuringTime, value);
        }
        #region 预挤压 后挤压
        private int _PrepareSelectedIndex = 0;
        public int PrepareSelectedIndex
        {
            get => _PrepareSelectedIndex;
            set => Set(ref _PrepareSelectedIndex, value);
        }
        private ObservableCollection<string> _PrepareList = new ObservableCollection<string>()
        {
             "0","1","2","3"
        };
        public ObservableCollection<string> PrepareList
        {
            get => _PrepareList;
            set => Set(ref _PrepareList, value);
        }

        private int _DelaySelectedIndex = 0;
        public int DelaySelectedIndex
        {
            get => _DelaySelectedIndex;
            set => Set(ref _DelaySelectedIndex, value);
        }
        private ObservableCollection<string> _DelayList = new ObservableCollection<string>()
        {
            "0","1","2","3"
        };
        public ObservableCollection<string> DelayList
        {
            get => _DelayList;
            set => Set(ref _DelayList, value);
        }

        #endregion
    }
}
